package demo1;

public enum TestEnum {
    RED("RED",0) , YELLOW ("YELLOW",1), GREEN ("GREEN",2), BLUE("BLUE",3) ;

    public String name ;
    public int val ;

   private TestEnum(String name, int val) {
        this.name = name;
        this.val = val;
    }
}
